package top.haijunit.springboot.bucket.springsecurity01.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author 百旺张
 * @Date 2021/11/8
 * @Description
 */
@RestController
public class HelloController {

    @GetMapping("/admin/index")
    public String admin() {
        return "/admin/index";
    }

    @GetMapping("/user/index")
    public String user() {
        return "/user/index";
    }

    @GetMapping("/manager/index")
    public String manager() {
        return "/manager/index";
    }

    @GetMapping("/maintainer/index")
    public String maintainer() {
        return "/maintainer/index";
    }
}
